package com.zhong.subject.domain.convert;

import com.zhong.subject.domain.bo.SubjectLabelBO;
import com.zhong.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper //此注解为mapstruct包下的
public interface SubjectLabelConverter {
    SubjectLabelConverter INSTANCE = Mappers.getMapper(SubjectLabelConverter.class);
    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);
    List<SubjectLabelBO> convertLabelListToBoList(List<SubjectLabel>  subjectLabelList);



}
